Tracing
It’s important to store traces of language model applications in a central location, both during development and in production. These traces can be useful for debugging, and as a dataset that will help you improve your application. Weave will automatically capture traces for DSPy. To start tracking, callingweave.init(project_name="<YOUR-WANDB-PROJECT-NAME>")
and use the library as normal.

Track your own DSPy Modules and Signatures
AModule
is the building block with learnable parameters for DSPy programs that abstracts a prompting technique. A Signature
is a declarative specification of input/output behavior of a DSPy Module. Weave automatically tracks all in-built and cutom Signatures and Modules in your DSPy programs.

Optimization and Evaluation of your DSPy Program
Weave also automatically captures traces for DSPy optimizers and Evaluation calls which you can use to improve and evaulate your DSPy program’s performance on a development set.